
label define ER30000L  ///
       1 "Release number 1, June 2023"
forvalues n = 1/20 {
    label define ER34502L `n' "Individuals in the family at the time of the 2017 interview"  , modify
}
forvalues n = 51/59 {
    label define ER34502L `n' "Individuals in institutions at the time of the 2017 interview"  , modify
}
forvalues n = 71/80 {
    label define ER34502L `n' "Individuals who moved out of the FU or out of institutions and established their own households between the 2015 and 2017 interviews"  , modify
}
forvalues n = 81/89 {
    label define ER34502L `n' "Individuals who were living in 2015 but died by the time of the 2017 interview"  , modify
}
label define ER34502L        0 "Inap.:  from Immigrant 17 recontact sample (ER30001=4700-4851) or Multiplicity sample (ER30001=4001-4462 and ER32052=2019); from Latino sample (ER30001=7001-9308); main family nonresponse by 2017 or mover-out nonresponse by 2015 (ER34501=0)"  , modify

label define ER34503L  ///
      10 "Reference Person in 2017; 2015 Reference Person who was mover-out nonresponse by the time of the 2017 interview"  ///
      20 "Legal Spouse in 2017; 2015 Spouse who was mover-out nonresponse by the time of the 2017 interview"  ///
      22 "Partner--cohabitor who has lived with Reference Person for 12 months or more; 2015 Partner who was mover-out nonresponse by the time of the 2017 interview"  ///
      30 "Son or daughter of Reference Person (includes adopted children but not stepchildren)"  ///
      33 "Stepson or stepdaughter of Reference Person (children of legal Spouse [code 20] who are not children of Reference Person)"  ///
      35 "Son or daughter of Partner but not Reference Person (includes only those children of mothers whose relationship to Reference Person is 22 but who are not children of Reference Person)"  ///
      37 "Son-in-law or daughter-in-law of Reference Person (includes stepchildren-in-law)"  ///
      38 "Foster son or foster daughter, not legally adopted"  ///
      40 "Brother or sister of Reference Person (includes step and half sisters and brothers)"  ///
      47 "Brother-in-law or sister-in-law of Reference Person (i.e., brother or sister of legal Spouse; spouse of HD`=char(146)'s brother or sister; spouse of legal Spouse`=char(146)'s brother or sister)"  ///
      48 "Brother or sister of Reference Person`=char(146)'s cohabitor (the cohabitor is coded 22 or 88)"  ///
      50 "Father or mother of Reference Person (includes stepparents)"  ///
      57 "Father-in-law or mother-in-law of Reference Person (includes parents of legal spouses [code 20] only)"  ///
      58 "Father or mother of Reference Person`=char(146)'s cohabitor (the cohabitor is coded 22 or 88)"  ///
      60 "Grandson or granddaughter of Reference Person (includes grandchildren of legal Spouse [code 20] only; those of a cohabitor are coded 97)"  ///
      65 "Great-grandson or great-granddaughter of Reference Person (includes great-grandchildren of legal Spouse [code 20]; those of a cohabitor are coded 97)"  ///
      66 "Grandfather or grandmother of Reference Person (includes stepgrandparents)"  ///
      67 "Grandfather or grandmother of legal Spouse (code 20)"  ///
      68 "Great-grandfather or great-grandmother of Reference Person"  ///
      69 "Great-grandfather or great-grandmother of legal Spouse (code 20)"  ///
      70 "Nephew or niece of Reference Person"  ///
      71 "Nephew or niece of legal Spouse (code 20)"  ///
      72 "Uncle or Aunt of Reference Person"  ///
      73 "Uncle or Aunt of legal Spouse (code 20)"  ///
      74 "Cousin of Reference Person"  ///
      75 "Cousin of legal Spouse (code 20)"  ///
      83 "Children of first-year cohabitor but not of Reference Person (the parent of this child is coded 88)"  ///
      88 "First-year cohabitor of Reference Person"  ///
      90 "Uncooperative legal spouse of Reference Person (this individual is unable or unwilling to be designated as Reference Person or Spouse)"  ///
      92 "Uncooperative partner of Reference Person (this individual is unable or unwilling to be designated as Partner)"  ///
      95 "Other relative of Reference Person"  ///
      96 "Other relative of legal Spouse (code 20)"  ///
      97 "Other relative of cohabitor (the cohabitor is code 22 or 88)"  ///
      98 "Other nonrelatives (includes friends of children of the FU, boyfriend/girlfriend of son/daughter, et al.)"  ///
       0 "Inap.:  from Immigrant 17 recontact sample (ER30001=4700-4851) or Multiplicity sample (ER30001=4001-4462 and ER32052=2019); from Latino sample (ER30001=7001-9308); main family nonresponse by 2017 or mover-out nonresponse by 2015 (ER34502=0)"

label define ER34507L  ///
       1 "Spouse in couple numbered 1"  ///
       2 "Spouse in couple numbered 2"  ///
       3 "Spouse in couple numbered 3"  ///
       4 "Spouse in couple numbered 4"  ///
       0 "Inap.:  spouse was not in FU at the time of the 2017 interview; not married or permanently cohabiting; from Immigrant 17 recontact sample (ER30001=4700-4851) or Multiplicity sample (ER30001=4001-4462 and ER32052=2019); from Latino sample (ER30001=7001-9308); main family nonresponse by 2017 or mover-out nonresponse by 2015 (ER34501=0)"
forvalues n = 1/20 {
    label define ER34702L `n' "Individuals in the family at the time of the 2019 interview"  , modify
}
forvalues n = 51/59 {
    label define ER34702L `n' "Individuals in institutions at the time of the 2019 interview"  , modify
}
forvalues n = 71/80 {
    label define ER34702L `n' "Individuals who moved out of the FU or out of institutions and established their own households between the 2017 and 2019 interviews"  , modify
}
forvalues n = 81/89 {
    label define ER34702L `n' "Individuals who were living in 2017 but died by the time of the 2019 interview"  , modify
}
label define ER34702L        0 "Inap.:  from Latino sample (ER30001=7001-9308); main family nonresponse by 2019 or mover-out nonresponse by 2017 (ER34701=0)"  , modify

label define ER34703L  ///
      10 "Reference Person in 2019; 2017 Reference Person who was mover-out nonresponse by the time of the 2019 interview"  ///
      20 "Legal Spouse in 2019; 2017 Spouse who was mover-out nonresponse by the time of the 2019 interview"  ///
      22 "Partner--cohabitor who has lived with Reference Person for 12 months or more; 2017 Partner who was mover-out nonresponse by the time of the 2019 interview"  ///
      30 "Son or daughter of Reference Person (includes adopted children but not stepchildren)"  ///
      33 "Stepson or stepdaughter of Reference Person (children of legal Spouse [code 20] who are not children of Reference Person)"  ///
      35 "Son or daughter of Partner but not Reference Person (includes only those children of mothers whose relationship to Reference Person is 22 but who are not children of Reference Person)"  ///
      37 "Son-in-law or daughter-in-law of Reference Person (includes stepchildren-in-law)"  ///
      38 "Foster son or foster daughter, not legally adopted"  ///
      40 "Brother or sister of Reference Person (includes step and half sisters and brothers)"  ///
      47 "Brother-in-law or sister-in-law of Reference Person (i.e., brother or sister of legal Spouse; spouse of HD`=char(146)'s brother or sister; spouse of legal Spouse`=char(146)'s brother or sister)"  ///
      48 "Brother or sister of Reference Person`=char(146)'s cohabitor (the cohabitor is coded 22 or 88)"  ///
      50 "Father or mother of Reference Person (includes stepparents)"  ///
      57 "Father-in-law or mother-in-law of Reference Person (includes parents of legal spouses [code 20] only)"  ///
      58 "Father or mother of Reference Person`=char(146)'s cohabitor (the cohabitor is coded 22 or 88)"  ///
      60 "Grandson or granddaughter of Reference Person (includes grandchildren of legal Spouse [code 20] only; those of a cohabitor are coded 97)"  ///
      65 "Great-grandson or great-granddaughter of Reference Person (includes great-grandchildren of legal Spouse [code 20]; those of a cohabitor are coded 97)"  ///
      66 "Grandfather or grandmother of Reference Person (includes stepgrandparents)"  ///
      67 "Grandfather or grandmother of legal Spouse (code 20)"  ///
      68 "Great-grandfather or great-grandmother of Reference Person"  ///
      69 "Great-grandfather or great-grandmother of legal Spouse (code 20)"  ///
      70 "Nephew or niece of Reference Person"  ///
      71 "Nephew or niece of legal Spouse (code 20)"  ///
      72 "Uncle or Aunt of Reference Person"  ///
      73 "Uncle or Aunt of legal Spouse (code 20)"  ///
      74 "Cousin of Reference Person"  ///
      75 "Cousin of legal Spouse (code 20)"  ///
      83 "Children of first-year cohabitor but not of Reference Person (the parent of this child is coded 88)"  ///
      88 "First-year cohabitor of Reference Person"  ///
      90 "Uncooperative legal spouse of Reference Person (this individual is unable or unwilling to be designated as Reference Person or Spouse)"  ///
      92 "Uncooperative partner of Reference Person (this individual is unable or unwilling to be designated as Partner)"  ///
      95 "Other relative of Reference Person"  ///
      96 "Other relative of legal Spouse (code 20)"  ///
      97 "Other relative of cohabitor (the cohabitor is code 22 or 88)"  ///
      98 "Other nonrelatives (includes friends of children of the FU, boyfriend/girlfriend of son/daughter, et al.)"  ///
       0 "Inap.:  from Latino sample (ER30001=7001-9308); main family nonresponse by 2019 or mover-out nonresponse by 2017 (ER34702=0)"

label define ER34707L  ///
       1 "Spouse in couple numbered 1"  ///
       2 "Spouse in couple numbered 2"  ///
       3 "Spouse in couple numbered 3"  ///
       4 "Spouse in couple numbered 4"  ///
       0 "Inap.:  spouse was not in FU at the time of the 2019 interview; not married or permanently cohabiting; from Latino sample (ER30001=7001-9308); main family nonresponse by 2019 or mover-out nonresponse by 2017 (ER34701=0)"

label define ER66001L  ///
       1 "Release number 1, February 2019"  ///
       2 "Release number 2, August 2019"  ///
       3 "Release number 3, June 2023"
forvalues n = 1/52 {
    label define ER66170L `n' "Number of weeks employed last year"  , modify
}
label define ER66170L       98 "DK"  , modify
label define ER66170L       99 "NA; refused"  , modify
label define ER66170L        0 "Inap.:  did not work for money in 2016; can`=char(146)'t compute weeks worked in 2016"  , modify
forvalues n = 1/52 {
    label define ER66445L `n' "Number of weeks employed last year"  , modify
}
label define ER66445L       98 "DK"  , modify
label define ER66445L       99 "NA; refused"  , modify
label define ER66445L        0 "Inap.:  did not work for money in 2016; can`=char(146)'t compute weeks worked in 2016; no Spouse/Partner in FU (ER67399=5)"  , modify
forvalues n = 1/52 {
    label define ER71097L `n' "Number of weeks"  , modify
}
label define ER71097L       99 "DK; NA; refused"  , modify
label define ER71097L        0 "Inap.:  Reference Person did not work for money in 2015 (ER71096=5); DK, NA; RF whether Reference Person worked for money in 2015 (ER71096=9)"  , modify
forvalues n = 1/52 {
    label define ER71145L `n' "Number of weeks"  , modify
}
label define ER71145L       99 "DK; NA"  , modify
label define ER71145L        0 "Inap.:  no Spouse/Partner in FU (ER67399=5); Spouse/Partner did not work for money in 2015 (ER71144=5); DK, NA, RF whether Spouse/Partner worked for money in 2015 (ER71144=9)"  , modify

label define ER72001L  ///
       1 "Release number 1, March 2021"
forvalues n = 1/52 {
    label define ER72170L `n' "Number of weeks employed last year"  , modify
}
label define ER72170L       98 "DK"  , modify
label define ER72170L       99 "NA; refused"  , modify
label define ER72170L        0 "Inap.:  did not work for money in 2018; can`=char(146)'t compute weeks worked in 2018"  , modify
forvalues n = 1/52 {
    label define ER72447L `n' "Number of weeks employed last year"  , modify
}
label define ER72447L       98 "DK"  , modify
label define ER72447L       99 "NA; refused"  , modify
label define ER72447L        0 "Inap.:  did not work for money in 2018; can`=char(146)'t compute weeks worked in 2018; no Spouse/Partner in FU (ER73422=5)"  , modify
forvalues n = 1/52 {
    label define ER77119L `n' "Number of weeks"  , modify
}
label define ER77119L       99 "DK; NA; refused"  , modify
label define ER77119L        0 "Inap.:  Reference Person did not work for money in 2017 (ER77118=5); DK, NA; RF whether Reference Person worked for money in 2017 (ER77118=9)"  , modify
forvalues n = 1/52 {
    label define ER77167L `n' "Number of weeks"  , modify
}
label define ER77167L       99 "DK; NA"  , modify
label define ER77167L        0 "Inap.:  no Spouse/Partner in FU (ER73422=5); Spouse/Partner did not work for money in 2017 (ER77166=5); DK, NA, RF whether Spouse/Partner worked for money in 2017 (ER77166=9)"  , modify

label values ER30000    ER30000L
label values ER34502    ER34502L
label values ER34503    ER34503L
label values ER34507    ER34507L
label values ER34702    ER34702L
label values ER34703    ER34703L
label values ER34707    ER34707L
label values ER66001    ER66001L
label values ER66170    ER66170L
label values ER66445    ER66445L
label values ER71097    ER71097L
label values ER71145    ER71145L
label values ER72001    ER72001L
label values ER72170    ER72170L
label values ER72447    ER72447L
label values ER77119    ER77119L
label values ER77167    ER77167L
